function random() {
	parent.frames("detailFrm").window.location.replace("studentquery.jsp");
	parent.frames("listFrm").window.location.replace("../../StudentSpeciality.list?dbgrid=StudentSpeciality");
}
function set() {
	parent.contentFrmst.rows="33,130,*";
	parent.frames("detailFrm").window.location.replace("subjectCheck.jsp");
	parent.frames("listFrm").window.location.replace("../../specialityItem.list?dbgrid=SpecialityItem");
	parent.frames("speListFrm").window.location.replace("../../specialityRecordItem.list?dbgrid=SpecialityRecordItem");
}
function check(){
	parent.contentFrmst.rows="33,120,120,*";
	parent.frames("detailFrm").window.location.replace("../../student.list?dbgrid=AdmissionReport");
}
function saveinfo(){
		parent.frames("detailFrm").isSubmitting=true;
		var method = parent.frames("detailFrm").document.getElementById("method").value;
		if( method=="insertSpecialityRecord" ) {
			if( !doValidate('specialityForm',parent.frames("detailFrm").document.forms(0)) )
			{
				return;
			}
		}
		parent.frames("detailFrm").document.forms(0).submit();
		parent.frames("listFrm").window.location.reload(true);
		parent.frames("speListFrm").window.location.reload(true);
}
